package com.kxf.pushkeepalive;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

import com.kxf.pushkeepalive.process.PushRemoteService;

/**
 * @ProjectName: AndroidTestDemo
 * @Package: com.kxf.pushkeepalive
 * @ClassName: PushAliveBcReceiver
 * @Description: java类作用描述
 * @Author: kuangxuefeng
 * @qq: 1024883177
 * @CreateDate: 2020/6/22 20:25
 */
public class PushAliveBcReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        Log.d("PushAliveBcReceiver", "接收到广播intent.getAction()=" + intent.getAction());
        context.startService(new Intent(context, PushRemoteService.class));
    }
}
